package com.fjxd.people;

import com.fjxd.feign.clients.UserClient;
import com.fjxd.feign.config.DefaultFeignConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients(defaultConfiguration = DefaultFeignConfiguration.class,basePackageClasses = UserClient.class)
public class PeopleApplication {
    public static void main(String[] args) {
        SpringApplication.run(PeopleApplication.class);
    }
}
